DateList
DateList[] gives the current local date and time in the form {year,month,day,hour,minute,second}.
DateList[date] gives a date list corresponding to the given date specification.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.